/**
 * @auther hewenhui
 * @see <a href="hetp://www.codingmaster.com> java </a>
 */
class MyArray<T>{
    public T[] array=(T[]) new Object[10];
    public T getPos(int pos){
        return array[pos];
    }
    public void setPos(int pos,T t){
        array[pos]=t;
    }
    public T[] getArray(){
        return array;
    }
}
public class test2 {
    public static void main(String[] args) {
        MyArray<Integer> myArray1=new MyArray<>();
        Integer[] strings = myArray1.getArray();

        System.out.println(strings.length);


    }
}
